<?php

class User_WidgetController extends My_Controller
{

   public function userboxAction()
   {
   		$user = $this->_helper->user(); 
   		return;
        if(!empty($user->id))
        {
   			$this->view->assign('user',$user);
			$this->view->assign('template','logoutbox');
        }
        else
			$this->view->assign('template','loginbox');
    		 
	 }

}